package com.mkb.service;

import java.util.List;

import com.github.pagehelper.PageInfo;
import com.mkb.entity.AreaDTO;

public interface AreaService {
    Boolean deleteById(Long id) throws Exception;

    Boolean create(AreaDTO record)throws Exception;

    AreaDTO getById(Long id)throws Exception;

    Boolean update(AreaDTO record)throws Exception;

    PageInfo<AreaDTO> queryPage(AreaDTO areaDTO)throws Exception;

    List<AreaDTO> queryList(AreaDTO areaDTO)throws Exception;
}